package com.hyfrogx.modules.zoom.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyfrogx.common.utils.QueryExt;
import com.hyfrogx.modules.zoom.entity.HyZoomVipUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author liubin on 2019/3/28.
 */
@Mapper
public interface HyZoomVipUserDao extends BaseMapper<HyZoomVipUserEntity> {
    /**
     * 分页查询子账户
     * @param query
     * @param map
     * @return
     */
    List<HyZoomVipUserEntity> selectPageByConditions(QueryExt query, Map map);

    /**
     * @param uid
     * @return
     */
    List<HyZoomVipUserEntity> getSubAccountByUid(@Param("uid") Integer uid);
}
